<?php
/**
 * Created by PhpStorm.
 * User: ytlmi
 * Date: 2017/11/8
 * Time: 9:39
 */
namespace app\user\model;
use think\Model;

class User extends Model
{
    protected $table='usr_user';
    //加密密码
    public function setPasswdAttr($value)
    {
        return password_hash($value,1);
    }



}